<?php
require "inc.php";
require "xmltree.inc";
require "htmldoc.inc";

$path = $_GET['doc'];
$anch = $_GET['anchor'];
//session_start();
view_Header('');

echo '<a href="index.php">Main menu</a>';
echo '<table width="100%" height="95%" border="1">';
echo '<tr><td width="30%" valign="top">';

xtree_Load('docs/docbase.xml');

echo '</td><td valign="top">';

htmldoc_Load($path, $anch);

echo '</td></tr></table>';

view_Footer(); 
?>
